package pojo;

import lombok.Data;

@Data
public class Girl
{
    private String name;
    private Integer age;
    public Girl()
    {
        System.err.println("调用了女孩无参构造器");
    }
    public Girl(String name,Integer age)
    {
        this.name=name;
        this.age=age;
        System.err.println("调用了女孩有参构造器");
    }
    public void hello()
    {
        System.err.println("你好吗");
    }
}
